let {User} = require('../models');
let index_fn = async (ctx, next) => {
    ctx.render('index.html');
}
let login_fn = async (ctx, next) => {
    ctx.render('login.html');
}
let register_fn = async (ctx, next) => {
    ctx.render('login.html')
}

let loginDone_fn = async (ctx, next) => {

}

let registerDone_fn = async (ctx, next) => {

}





module.exports = {
    '/': ['get', index_fn],
    '/login': ['get', login_fn],
    '/login': ['get', register_fn],
    '/loginDone': ['post', loginDone_fn],
    '/registerDone': ['post', registerDone_fn],
}